-
Notifications
You must be signed in to change notification settings - Fork 0
BFRES #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
BFRES #5
Conversation
|
@ariankordi can you confirm something for me real fast? I think I have things in a state where models can start to be exported, but my Mii sample models look very strange I'm checking
Inside each there are 2 FSHPs:
When exporting these to an OBJ (for testing purposes right now), it looks like Is this normal? Screenshots from blender:
|
|
Those limbs look normal, that's the bind pose for this model. You can see this by downloading this glTF, opening it in https://gltf-viewer.donmccurdy.com and disabling the animation. Yeah, for shape1 you may have broken.. indices? IDK. |
|
I'll also point out that MiiBodyMiddle is the only one that's used, if you need to cross-compare. I'm going to document how to do this with RenderDoc + Cemu since I don't think anyone on the internet has. If you look at the attributes, they're in these strange numbers instead of the floats you'd expect. |
That actually helped a lot. Switching to that, I can see that the FSHPs are named |







Resolves #XXX
Changes:
This is the start of BFRES parsing support. Marking as a draft for now because there's still a lot to do
Currently I am only aiming to get this functional enough to export the Mii models mentioned in #2 into a GLB. Full BFRES spec support can come later
Currently this can ALMOST export models to OBJ files, it's just missing the ability to create the face triangles. Nowhere near GLB ready though, since no skeletons or animations are being parsed right now
This is required for future Mii rendering